﻿namespace DiffuseEnjoyIdle.MessageCenter.RabbitMQ
{
    public class RabbitMQKeyName
    {


        public static readonly string TextExchange = "TestExchange";
        public static readonly string TextQueue = "TextQueue";
        public static readonly string TextRouteKey = "TextRouteKey";
        #region 死信队列

        public static readonly string DeadLetterExchange = "DeadLetterExchange";
        public static readonly string DeadLetterQueue = "DeadLetterQueue";
        public static readonly string DeadLetterRouteKey = "DeadLetterRouteKey";
        #endregion

        public static readonly List<Tuple<string, string, string, IDictionary<string, object>>> Tuples =
        new List<Tuple<string, string, string, IDictionary<string, object>>>
        {
                 new Tuple<string, string, string, IDictionary<string, object>>
                (DeadLetterExchange,DeadLetterQueue,DeadLetterRouteKey,null),
                   new Tuple<string, string, string, IDictionary<string, object>>
                (TextExchange,TextQueue,TextRouteKey,null),
        };
    }
}
